﻿@model PrjctMngmt.Models.Issue

<fieldset>
    <legend>Issue</legend>

    <div class="display-label">Subject</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Subject)
    </div>

    <div class="display-label">Priority</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Priority)
    </div>

    <div class="display-label">Severity</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Severity)
    </div>

    <div class="display-label">Status</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Status)
    </div>

    <div class="display-label">Description</div>
    <div class="display-field description-field">
        @Html.DisplayTextFor(model => model.Description)
    </div>

    <div class="display-label">Entry date</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EntryDate)
    </div>

    <div class="display-label">Milestone</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Milestone.Name)
    </div>

    <div class="display-label">Project</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Project.Name)
    </div>

    <div class="display-label">Category</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IssueCategoryName)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.IssueID }) |
    @Html.ActionLink("Delete", "Delete", new { id = Model.IssueID })
    <br />
    @Html.ActionLink("See assignments", "ShowIssueAssignments", "IssueAssignment", new { id = Model.IssueID }, null) |
    @Html.ActionLink("See attachments", "ShowIssueAttachments", "IssueAttachment", new { id = Model.IssueID }, null)
    <br /><br />
    @Html.ActionLink("Back to List", "Index")
</p>
